﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001259 RID: 4697
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StrongChallengeAvatarData : IMessage<StrongChallengeAvatarData>, IMessage, IEquatable<StrongChallengeAvatarData>, IDeepCloneable<StrongChallengeAvatarData>, IBufferMessage
	{
		// Token: 0x17003B95 RID: 15253
		// (get) Token: 0x0600D2B5 RID: 53941 RVA: 0x00237D1B File Offset: 0x00235F1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StrongChallengeAvatarData> Parser
		{
			get
			{
				return StrongChallengeAvatarData._parser;
			}
		}

		// Token: 0x17003B96 RID: 15254
		// (get) Token: 0x0600D2B6 RID: 53942 RVA: 0x00237D22 File Offset: 0x00235F22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StrongChallengeAvatarDataReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003B97 RID: 15255
		// (get) Token: 0x0600D2B7 RID: 53943 RVA: 0x00237D34 File Offset: 0x00235F34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StrongChallengeAvatarData.Descriptor;
			}
		}

		// Token: 0x0600D2B8 RID: 53944 RVA: 0x00237D3B File Offset: 0x00235F3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StrongChallengeAvatarData()
		{
		}

		// Token: 0x0600D2B9 RID: 53945 RVA: 0x00237D59 File Offset: 0x00235F59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StrongChallengeAvatarData(StrongChallengeAvatarData other) : this()
		{
			this.buffList_ = other.buffList_.Clone();
			this.avatarList_ = other.avatarList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D2BA RID: 53946 RVA: 0x00237D94 File Offset: 0x00235F94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StrongChallengeAvatarData Clone()
		{
			return new StrongChallengeAvatarData(this);
		}

		// Token: 0x17003B98 RID: 15256
		// (get) Token: 0x0600D2BB RID: 53947 RVA: 0x00237D9C File Offset: 0x00235F9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BuffList
		{
			get
			{
				return this.buffList_;
			}
		}

		// Token: 0x17003B99 RID: 15257
		// (get) Token: 0x0600D2BC RID: 53948 RVA: 0x00237DA4 File Offset: 0x00235FA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<StrongChallengeAvatar> AvatarList
		{
			get
			{
				return this.avatarList_;
			}
		}

		// Token: 0x0600D2BD RID: 53949 RVA: 0x00237DAC File Offset: 0x00235FAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StrongChallengeAvatarData);
		}

		// Token: 0x0600D2BE RID: 53950 RVA: 0x00237DBC File Offset: 0x00235FBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StrongChallengeAvatarData other)
		{
			return other != null && (other == this || (this.buffList_.Equals(other.buffList_) && this.avatarList_.Equals(other.avatarList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D2BF RID: 53951 RVA: 0x00237E10 File Offset: 0x00236010
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.buffList_.GetHashCode();
			num ^= this.avatarList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D2C0 RID: 53952 RVA: 0x00237E52 File Offset: 0x00236052
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D2C1 RID: 53953 RVA: 0x00237E5A File Offset: 0x0023605A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D2C2 RID: 53954 RVA: 0x00237E63 File Offset: 0x00236063
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.avatarList_.WriteTo(ref output, StrongChallengeAvatarData._repeated_avatarList_codec);
			this.buffList_.WriteTo(ref output, StrongChallengeAvatarData._repeated_buffList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D2C3 RID: 53955 RVA: 0x00237E9C File Offset: 0x0023609C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.buffList_.CalculateSize(StrongChallengeAvatarData._repeated_buffList_codec);
			num += this.avatarList_.CalculateSize(StrongChallengeAvatarData._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D2C4 RID: 53956 RVA: 0x00237EE8 File Offset: 0x002360E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StrongChallengeAvatarData other)
		{
			if (other == null)
			{
				return;
			}
			this.buffList_.Add(other.buffList_);
			this.avatarList_.Add(other.avatarList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D2C5 RID: 53957 RVA: 0x00237F27 File Offset: 0x00236127
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D2C6 RID: 53958 RVA: 0x00237F30 File Offset: 0x00236130
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 34U)
				{
					if (num != 72U && num != 74U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.buffList_.AddEntriesFrom(ref input, StrongChallengeAvatarData._repeated_buffList_codec);
					}
				}
				else
				{
					this.avatarList_.AddEntriesFrom(ref input, StrongChallengeAvatarData._repeated_avatarList_codec);
				}
			}
		}

		// Token: 0x04005477 RID: 21623
		private static readonly MessageParser<StrongChallengeAvatarData> _parser = new MessageParser<StrongChallengeAvatarData>(() => new StrongChallengeAvatarData());

		// Token: 0x04005478 RID: 21624
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005479 RID: 21625
		public const int BuffListFieldNumber = 9;

		// Token: 0x0400547A RID: 21626
		private static readonly FieldCodec<uint> _repeated_buffList_codec = FieldCodec.ForUInt32(74U);

		// Token: 0x0400547B RID: 21627
		private readonly RepeatedField<uint> buffList_ = new RepeatedField<uint>();

		// Token: 0x0400547C RID: 21628
		public const int AvatarListFieldNumber = 4;

		// Token: 0x0400547D RID: 21629
		private static readonly FieldCodec<StrongChallengeAvatar> _repeated_avatarList_codec = FieldCodec.ForMessage<StrongChallengeAvatar>(34U, StrongChallengeAvatar.Parser);

		// Token: 0x0400547E RID: 21630
		private readonly RepeatedField<StrongChallengeAvatar> avatarList_ = new RepeatedField<StrongChallengeAvatar>();
	}
}
